/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lianxishilili.demo;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.*;

/**
 *
 * @author Administrator
 */
public class InputsDemo {
    public static void main(String[] args)throws FileNotFoundException,IOException {
        File file=new File("c:\\","2011-04-10.txt");
        FileReader f=new FileReader(file);
        BufferedReader br=new BufferedReader(f);
        String temp=null;
        while((temp=br.readLine())!=null){
            System.out.println(temp);
        }
        System.out.println("********文件结束**********");
    }
}
